package com.datawale.vh.demo.work.mapper;

import java.util.List;

/**
 * @author huangtao
 * @time 2023/6/7
 * @description
 */
public interface CommonMapper<T> {

    T selectOne(Object key);

    List<T> selectAll(Object key);

    Long count(Object key);

    Long insert(T obj);

    int update(T obj);
}
